
<div class="table-body">
	<table id="authTable" lay-filter="authTable"></table>
</div>

<script>
    layui.use(['table','form','laydate'],function(){
        var table = layui.table,form = layui.form,date = layui.laydate;
        table.render({
            elem: '#authTable',
            height: 'full-65',
            cellMinWidth: '80',
            url: "{:url('Operation/auth')}", //数据接口
            id: "authTable",
            cols: [[ //表头
                {type: 'numbers'},
                {field: 'controlerName', title: '控制器名称', width: 200},
                {field: 'controler', title: '控制器', width: 200},
                {field: 'funcName', title: '方法名称', width: 200,align:'center'},
                {field: 'func', title: '方法', width: 300,align:'center'},
                {field: 'desc', title: '描述', width: 400,align:'center'},
            ]]
        });
    })
</script>